home *** CD-ROM | disk | FTP | other *** search
/ Aminet 23 / Aminet 23 (1998)(GTI - Schatztruhe)[!][Feb 1998].iso / Aminet / dev / moni / hr_mon165.lha / hr_mon165.readme < prev    next >
Text File  |  1997-12-12  |  2KB  |  48 lines

  1. Short:    Hunt relative command for mon165; v1.0
  2. Author:   microbe@eris.phys.uni.torun.pl (Andrzej Chojnowski)
  3. Uploader: microbe@eris.phys.uni.torun.pl (Andrzej Chojnowski)
  4. Version:  1.0
  5. Type:     dev/moni
  6. Long:  
  7.  
  8. [What's it for ?]
  9.   Here is a small script written to add one, lacking in my opinion, command
  10. to Amiga Monitor v1.65 (c) by Timo Rossi. The script uses script feature
  11. built-in in Amon version 1.52 and over. The added command is 'hunt relative'.
  12. It works much like 'hunt' command in Amon. The only difference is that
  13. relative calls to hunted address are found instead of absolute ones. That
  14. calls are all relative to (pc) address modes including bsr.w instruction.
  15. Bsr.s instructions are not found (so called 'short' relative mode). This
  16. feature will be added in the next version of HR script.
  17.  
  18. [Requirements]
  19.   Any Amiga computer with at least Kickstart 2.0 system.
  20.  
  21. [Usage]
  22.   To install HR in your system just copy HR and HR.bin to Amon's drawer.
  23. To hunt desired address calls in given piece of memory you need to do:
  24.   1) set p=start_address_of_memory_piece
  25.   2) set k=end_address_of_memory_piece
  26.   3) set hr=address_to_hunt
  27.   4) exec hr
  28. The most covenient way to hunt something in one-hunk program is to set p
  29. and k like this: set p=hunk(0)
  30.                  set k=hend(0)
  31. once just after the program has been loaded. Then each time you need to
  32. hunt something do: set hr=something
  33.                    exec hr
  34.   If the names p,k and hr don't suit you, you can always change them
  35. according to your preferences (see copyright note below).
  36.  
  37. [Copyright]
  38.   The HR script is public domain. That means you can do with it anything
  39. you want: spread, modify, sell, put on your CD collection etc.
  40. THE PROGRAM IS PROVIDED TO YOU "AS IS," WITHOUT WARRANTY.
  41. THERE IS NO WARRANTY FOR THE PROGRAM, EITHER EXPRESSED OR IMPLIED,
  42. INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANT-
  43. ABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
  44. OF THIRD PARTY RIGHTS. THE ENTIRE RISK AS TO THE QUALITY AND PER-
  45. FORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE
  46. DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR
  47. OR CORRECTION.
  48.